package com.ljf.daily.consumptiondetail.dto.command;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 日常消费明细--生成数据接口  daily_dat_consumption_detail
 *
 * @author LJF
 * @since 2024-06-22
 */
@Data
@ApiModel("日常消费明细--生成数据接口")
public class DailyDatConsumptionDetailGenerateDataCommand implements Serializable {

    @JsonProperty("startDate")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @ApiModelProperty(value = "开始生成日期")
    private Date startDate;

    @JsonProperty("endDate")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @ApiModelProperty(value = "结束生成日期")
    private Date endDate;

    @JsonProperty("specialDate")
    @ApiModelProperty(value = "特殊日期")
    private List<Date> specialDate;

}
